{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% extends "firefox/whatsnew/base.html" %}

{% block page_title %}{{ ftl('firefox-developer-page-title') }}{% endblock %}
{% block page_desc %}{{ ftl('firefox-developer-firefox-developer-edition-desc') }}{% endblock %}
{% block page_image %}{{ static('protocol/img/logos/firefox/browser/developer/og.png') }}{% endblock %}
{% block page_favicon %}{{ static('img/favicons/firefox/browser/developer/favicon.ico') }}{% endblock %}
{% block page_favicon_large %}{{ static('img/favicons/firefox/browser/developer/favicon-196x196.png') }}{% endblock %}
{% block page_ios_icon %}{{ static('img/favicons/firefox/browser/developer/apple-touch-icon.png') }}{% endblock %}

{% block site_css %}
  {% if ftl_file_is_active('navigation_refresh') and ftl_file_is_active('footer-refresh') %}
    {{ css_bundle('m24-root') }}
    {{ css_bundle('m24-navigation-and-footer') }}
  {% else %}
    {{ css_bundle('legacy-navigation-and-footer') }}
  {% endif %}
  {{ css_bundle('protocol-firefox') }}
{% endblock %}

{% block page_css %}
  {{ css_bundle('protocol-split') }}
  {{ css_bundle('firefox_developer') }}
{% endblock %}

{% block body_id %}firefox-developer{% endblock %}
{% block body_class %}firefox-developer firefox-developer-whatsnew{% endblock %}

{% block content %}
<main class="mzp-t-dark">
  <div class="mzp-l-content mzp-t-content-md t-center">
    <div class="mzp-c-logo mzp-t-logo-xl mzp-t-product-developer mzp-l-logo-center"></div>
    <h1>{{ ftl('firefox-developer-congrats-you-now-have-latest-v2') }}</h1>
    {% set attrs = 'href="https://www.firefox.com/firefox/developer/notes/"' %}
    {% if LANG.startswith('en-') %}
      <p>View the <a {{ attrs|safe }}>release notes</a> to see what’s new.</p>
    {% else %}
      <p>{{ ftl('firefox-developer-view-the-release', attrs=attrs) }}</p>
    {% endif %}
  </div>

  {% if ftl_has_messages('firefox-developer-developer-tools-user') %}
  <div class="mzp-l-content mzp-t-content-md t-center">
    <h2 class="mzp-u-title-sm"><a href="https://firefox-source-docs.mozilla.org/devtools-user/" rel="external" class="c-docs">
      {{ ftl('firefox-developer-developer-tools-user') }}
      {% include '/firefox/developer/includes/arrow-right.svg' %}
    </a></h2>
  </div>
  {% endif %}

  {% if ftl_has_messages('firefox-developer-resources-for-developers') %}
    {% include '/firefox/developer/includes/mdn-features.html' %}
  {% endif %}
</main>
{% endblock %}

{% block email_form %}{% endblock %}

{% block js %}
  {{ js_bundle('newsletter') }}
{% endblock %}

{# Exclude stub attribution for in-product pages: issue 9620 #}
{% block stub_attribution %}{% endblock %}
